/**
 * @author:bjzhang
 * Created by MingIr on 2018/1/24.
 */
const api = {
    // base:'http://192.168.1.108:8088/',
    base:'http://192.168.3.4:8810/',
    file:{
        upload:{
            image:'api/upload/image',
            video:'api/upload/video'
        }
    },
    user:{
        login:'api/user/login',
        detail:'api/user/detail',
        verifycode:'api/user/verifycode',
        getcode:'api/user/getcode',
        sendbags:'api/user/sendbags',
        receivebags:'api/user/receivebags',
        likes:'api/user/likes',
        messages:'api/user/messages',
        detail:'api/message/detail',
        edit:'api/user/edit',
        wallet:'api/user/wallet',
        bagcount:'api/user/bagcount',
        bagdetail:'api/bag/user/detail'
    },
    bag:{
        image:'api/bag/addimagetext',
        video:'api/bag/addvideo',
        find:'api/bag/find',
        detail:'api/bag/detail',
        redPacket:'api/bag/addredpacket',
        event:'api/bag/addevent',
    },
    event:{
        detail:'api/event/detail'
    }
}
module.exports = { api : api};